<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\OrderSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="order-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id') ?>

    <?= $form->field($model, 'ext_order_id') ?>

    <?= $form->field($model, 'increment_id') ?>

    <?= $form->field($model, 'magento_order_id') ?>

    <?= $form->field($model, 'payment_method') ?>

    <?php // echo $form->field($model, 'storehouse_id') ?>

    <?php // echo $form->field($model, 'payment_status') ?>

    <?php // echo $form->field($model, 'order_type') ?>

    <?php // echo $form->field($model, 'order_status') ?>

    <?php // echo $form->field($model, 'last_track_status') ?>

    <?php // echo $form->field($model, 'shipping_method') ?>

    <?php // echo $form->field($model, 'shipping_method_origin') ?>

    <?php // echo $form->field($model, 'shipping_description') ?>

    <?php // echo $form->field($model, 'shipping_description_origin') ?>

    <?php // echo $form->field($model, 'shipping_track_no') ?>

    <?php // echo $form->field($model, 'waybill') ?>

    <?php // echo $form->field($model, 'payment_at') ?>

    <?php // echo $form->field($model, 'process_at') ?>

    <?php // echo $form->field($model, 'has_shipment') ?>

    <?php // echo $form->field($model, 'shipped_at') ?>

    <?php // echo $form->field($model, 'shipped_count') ?>

    <?php // echo $form->field($model, 'total_item_count') ?>

    <?php // echo $form->field($model, 'edited') ?>

    <?php // echo $form->field($model, 'approved') ?>

    <?php // echo $form->field($model, 'blocked') ?>

    <?php // echo $form->field($model, 'paused') ?>

    <?php // echo $form->field($model, 'paused_uid') ?>

    <?php // echo $form->field($model, 'changed') ?>

    <?php // echo $form->field($model, 'reshipped') ?>

    <?php // echo $form->field($model, 'expedited') ?>

    <?php // echo $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

    <?php // echo $form->field($model, 'uid') ?>

    <?php // echo $form->field($model, 'website_id') ?>

    <?php // echo $form->field($model, 'store_id') ?>

    <?php // echo $form->field($model, 'from') ?>

    <?php // echo $form->field($model, 'currency_code') ?>

    <?php // echo $form->field($model, 'grand_total') ?>

    <?php // echo $form->field($model, 'base_grand_total') ?>

    <?php // echo $form->field($model, 'static_grand_total') ?>

    <?php // echo $form->field($model, 'subtotal') ?>

    <?php // echo $form->field($model, 'base_subtotal') ?>

    <?php // echo $form->field($model, 'base_discount_amount') ?>

    <?php // echo $form->field($model, 'base_shipping_amount') ?>

    <?php // echo $form->field($model, 'shipping_amount') ?>

    <?php // echo $form->field($model, 'discount_amount') ?>

    <?php // echo $form->field($model, 'discount_points') ?>

    <?php // echo $form->field($model, 'discount_points_amount') ?>

    <?php // echo $form->field($model, 'base_discount_points_amount') ?>

    <?php // echo $form->field($model, 'system_discount') ?>

    <?php // echo $form->field($model, 'discount_description') ?>

    <?php // echo $form->field($model, 'package_return') ?>

    <?php // echo $form->field($model, 'shipping_insurance') ?>

    <?php // echo $form->field($model, 'shipping_discount_amount') ?>

    <?php // echo $form->field($model, 'base_shipping_discount_amount') ?>

    <?php // echo $form->field($model, 'store_credit_amount') ?>

    <?php // echo $form->field($model, 'static_store_credit_amount') ?>

    <?php // echo $form->field($model, 'base_store_credit_amount') ?>

    <?php // echo $form->field($model, 'gift_card_discount_amount') ?>

    <?php // echo $form->field($model, 'base_gift_card_discount_amount') ?>

    <?php // echo $form->field($model, 'ups_special') ?>

    <?php // echo $form->field($model, 'has_gift') ?>

    <?php // echo $form->field($model, 'has_prime_gift') ?>

    <?php // echo $form->field($model, 'transaction_id') ?>

    <?php // echo $form->field($model, 'presale') ?>

    <?php // echo $form->field($model, 'presale_timeline') ?>

    <?php // echo $form->field($model, 'magento_return_id') ?>

    <?php // echo $form->field($model, 'tariff_insurance_amount') ?>

    <?php // echo $form->field($model, 'base_tariff_insurance_amount') ?>

    <?php // echo $form->field($model, 'coupon_code') ?>

    <?php // echo $form->field($model, 'coupon_rule_name') ?>

    <?php // echo $form->field($model, 'prime_discount_amount') ?>

    <?php // echo $form->field($model, 'base_prime_discount_amount') ?>

    <?php // echo $form->field($model, 'google_order_id') ?>

    <?php // echo $form->field($model, 'shipping_tax_amount') ?>

    <?php // echo $form->field($model, 'has_print_shipment_label') ?>

    <?php // echo $form->field($model, 'has_bundle') ?>

    <?php // echo $form->field($model, 'magento_user_lev_ordered') ?>

    <?php // echo $form->field($model, 'customer_id') ?>

    <?php // echo $form->field($model, 'customer_group') ?>

    <?php // echo $form->field($model, 'haiwaicang_export') ?>

    <?php // echo $form->field($model, 'haiwaicang_export_uid') ?>

    <?php // echo $form->field($model, 'guuid') ?>

    <?php // echo $form->field($model, 'is_fraud') ?>

    <?php // echo $form->field($model, 'distributor') ?>

    <?php // echo $form->field($model, 'distributor_order_id') ?>

    <?php // echo $form->field($model, 'source') ?>

    <?php // echo $form->field($model, 'blocked2') ?>

    <?php // echo $form->field($model, 'weight') ?>

    <?php // echo $form->field($model, 'sync_success') ?>

    <?php // echo $form->field($model, 'email') ?>

    <?php // echo $form->field($model, 'orders_type') ?>

    <div class="form-group">
        <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('Reset', ['class' => 'btn btn-outline-secondary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
